<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.geometry.line.Segment&rdquo;</title>
        </head>
        <body><h1 class="class">Class s.g.l.Segment(<a href="sympy.geometry.line.LinearEntity.html">LinearEntity</a>):</h1><span id="part">Part of <a href="sympy.geometry.line.html">sympy.geometry.line</a></span><div class="toplevel"><div><p>An undirected line segment in space.</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.__new__">__new__</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.arbitrary_point">arbitrary_point</a></td><td><div><p>Returns a symbolic point that is on this line segment.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.plot_interval">plot_interval</a></td><td><span class="undocumented">Undocumented</span></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.perpendicular_bisector">perpendicular_bisector</a></td><td><div><p>Returns the perpendicular bisector of this segment. If no point is</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.length">length</a></td><td><div><p>The length of the segment.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.midpoint">midpoint</a></td><td><div><p>The midpoint of the segment.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.__eq__">__eq__</a></td><td><div><p>Return True if other is equal to this Line, or False otherwise.</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.geometry.line.Segment.__contains__">__contains__</a></td><td><div><p>Return True if o is on this Segment, or False otherwise.</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.__new__">__new__(cls, p1, p2, **kwargs):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.arbitrary_point">arbitrary_point(self, parameter_name='t'):</a></div>
            <div class="functionBody"><div><p>Returns a symbolic point that is on this line segment.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.plot_interval">plot_interval(self, parameter_name='t'):</a></div>
            <div class="functionBody"><div class="undocumented">Undocumented</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.perpendicular_bisector">perpendicular_bisector(self, p=None):</a></div>
            <div class="functionBody"><div><p>Returns the perpendicular bisector of this segment. If no point is 
specified or the point specified is not on the bisector then the bisector 
is returned as a Line. Otherwise a Segment is returned that joins the point
specified and the intersection of the bisector and the segment.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.length">length(self):</a></div>
            <div class="functionBody"><div><p>The length of the segment.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.midpoint">midpoint(self):</a></div>
            <div class="functionBody"><div><p>The midpoint of the segment.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.__eq__">__eq__(self, other):</a></div>
            <div class="functionBody"><div><p>Return True if other is equal to this Line, or False otherwise.</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.geometry.line.Segment.__contains__">__contains__(self, o):</a></div>
            <div class="functionBody"><div><p>Return True if o is on this Segment, or False otherwise.</p>
</div></div>
            </div></body>
        